﻿using System.Threading.Tasks;

namespace Puppy.Domain.Repositories.MemoryDb
{
    public interface IMemoryDatabaseProvider<TMemoryDbContext>
        where TMemoryDbContext : MemoryDbContext
    {
        Task<TMemoryDbContext> GetDbContextAsync();

        Task<IMemoryDatabase> GetDatabaseAsync();
    }
}